<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" href="css/indexdenglu.css" />
			<meta name="msapplication-tap-highlight" content="no">
     <meta name="format-detection" content="telephone=no">
      <meta name="format-detection" content="email=no">
     <meta name="format-detection" content="adress=no">
      <meta name="screen-orientation" content="portrait"> 
       <meta name="x5-fullscreen" content="true" /> 
       <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
     	<link rel="stylesheet" type="text/css" href="css/reset.css"/>
     	<script type="text/javascript" src="js/fastclick.js" ></script>
        <script type="text/javascript">
        if ('addEventListener' in document) {
            document.addEventListener('DOMContentLoaded', function() {
                FastClick.attach(document.body);
            }, false);
        }
    </script>
		<title></title>
	</head>
	<body>
		<div class="nav">
			<div>
				<a href="javascript:history.go(-1)">
			
				<img src="img/fanhui@2x.png"/>
				</a>
			</div>
			<div>
				评价
			</div>
		</div>
		<div class="main">
			<div class="main_div">
				<p>差评</p>
				<p>中评</p>
				<p>好评</p>
			</div>
		</div>
		<div class="header">
			<div>
				<p>服务质量 : </p><img src="img/pingjiaxing@2x.png"/>
			</div>
		</div>
		<div class="header">
			<div>
				<p>服务质量 : </p><img src="img/pingjiaxing@2x.png"/>
			</div>
		</div>
		<div class="header">
			<div>
				<p>服务质量 : </p><img src="img/pingjiaxing@2x.png"/>
			</div>
		</div>
		<div class="foor">
			<div class="foorDiv">
			<p>
				技术不错
			</p>
			<p>技术不错</p>
			<p>技术不错</p>
			<p>
				技术不错
			</p>
			<p>技术不错</p>
		
			</div>
		</div>
		<div class="box">
			<div>
				<textarea name="" rows="" cols="" placeholder="说点什么"></textarea>
			</div>
		</div>
		
		<div class="db">
			<div class="dbzg">提交</div>
		</div>
	</body>
</html>
<script type="text/javascript" src="js/flexible.js" ></script>
<script type="text/javascript">
	window.onload=function(){
		var main_div = document.getElementsByClassName("main_div")[0];
		var main_divp = main_div.getElementsByTagName("p");
		main_div.addEventListener("click",function(event){
			if(event.target.nodeName.toLowerCase()=="p"){
				
				for(var i=0;i<main_divp.length;i++){
					main_divp[i].style.border="1px solid #999999";
					main_divp[i].style.color="#000";
				}
				event.target.style.border="1px solid #ff6633";
				event.target.style.color="#ff6633";
				
			}
		})
		var foorDiv = document.getElementsByClassName("foorDiv")[0];
		var foorDiv_p=foorDiv.getElementsByTagName("p");
		for(var i=0;i<foorDiv_p.length;i++){
			foorDiv_p[i].onclick = function(event){
				if(event.target.style.color== "#ff6633"){
					event.target.style.border="0.027rem  solid #999999";
					event.target.style.color="#000";
				}else{
					
				event.target.style.border="0.027rem solid #ff6633";
				event.target.style.color="#ff6633";
				}
			}
			
		}
		
		var dbzg = document.getElementsByClassName("dbzg")[0];
		dbzg.onclick=function(){
			location.href="indexzegai.html"
		}
		
		
	}
</script>
